/**
 * Created with IntelliJ IDEA.
 * User: wenxiwen
 * Date: 2022/3/27
 * Time: 15:16
 * Description: No Description
 */
import java.util.*;
class Person {
    public String name;
    public int age;
    public String Sex;
    public int score;

    public Person() {

    }
    public Person(String name, int age, String sex, int score) {
        this.name = name;
        this.age = age;
        Sex = sex;
        this.score = score;
    }
    public void mead() {
        this.age = 18;
        this.Sex = "男";
        this.name = "温习文";
        this.score = 99;
    }

    public void cat(String name,int age,String Sex,int score) {
        this.name = name;
        this.age = age;
        this.Sex = Sex;
        this.score = score;
        System.out.print(name+"正在");
        this.did();
        System.out.print("马上");
        this.eat();
        System.out.println();
    }
    @Override
    public String toString() {
        return "{" +
                "name = '" + name + '\'' +
                ", age = " + age +
                ", Sex = '" + Sex + '\'' +
                ", score = " + score +
                '}';
    }

    public void did() {
        System.out.print("学习");
    }
    public void eat() {
        System.out.print("考试");
    }
}
public class TestDemo {
    public static void main(String[] args) {
        wenxiwen.test.demo.TestDemo testdemo = new wenxiwen.test.demo.TestDemo();
        System.out.println(testdemo.b);
    }
    public static void main3(String[] args) {
        Date date = new Date();
        System.out.println(date.getTime());
    }
    public static void main2(String[] args) {
       java.util.Date date = new java.util.Date();
       System.out.println(date.getTime());
    }
    public static void main1(String[] args) {
        Person per = new Person("wenxiwen",19,"男",99);
        System.out.println(per);
    }
}